﻿using System;
using System.Runtime.InteropServices;


namespace advadev.Windows.CustomWindows.WindowsGDI
{

    /// <summary>
    /// The MONITORINFO structure contains information about a display monitor
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    internal class MONITORINFO
    {

        /// <summary>
        /// The size of the structure, in bytes
        /// </summary>
        internal int cbSize = Marshal.SizeOf(typeof(MONITORINFO));

        /// <summary>
        /// A RECT structure that specifies the display monitor rectangle,
        /// expressed in virtual-screen coordinates
        /// </summary>
        internal RECT rcMonitor = new RECT();

        /// <summary>
        /// A RECT structure that specifies the work area rectangle of the
        /// display monitor, expressed in virtual-screen coordinates
        /// </summary>
        internal RECT rcWork = new RECT();

        /// <summary>
        /// A set of flags that represent attributes of the display monitor. The
        /// following flag is defined:
        /// - MONITORINFOF_PRIMARY: 0x00000001
        /// </summary>
        internal int dwFlags;

    }

}
